﻿@model SchoolProject2012.Domain.Entreprise
@{
    ViewBag.Title = "ERP ingesup";
    Layout = "~/Areas/Shared/Views/Shared/_Layout.cshtml";
}

<h2>ME</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using SchoolProject2012.Langue
@using (Html.BeginForm())
{
           @Html.HiddenFor(x => x.id)
        <p>@Resources.lblCompanyName : @Html.TextBoxFor(x => x.libelle)</p>
        <p>@Resources.lblCompanyAdress : @Html.TextBoxFor(x => x.adresse)</p>
        <p>@Resources.lblCompanyCp : @Html.TextBoxFor(x => x.cp) @Resources.lblCompanyVille : @Html.TextBoxFor(x => x.ville)</p>
        <p>@Resources.lblCompanyTel : @Html.TextBoxFor(x => x.telephone)</p>
        <p>@Resources.lblCompanyFax : @Html.TextBoxFor(x => x.fax)</p>
        <p>@Html.LabelFor(x => x.mail) : @Html.TextBoxFor(x => x.mail) @Html.ValidationMessageFor(x => x.mail)</p>
        <p>@Resources.lblCompanyInfo :</p>
        <p> @Html.TextAreaFor(x => x.infoComp)</p>       
        <input type="submit" value="Valider" />
}

<div>
    @Html.ActionLink("Back to List", "ATE")
</div>
